<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="row">
    <div class="col-md-6 col-md-offset-3">

        <ul class="list-group">
            {% for bookshelf in bookshelfs %}
                <li class="list-group-item">
                    <a href="{% url 'main:detail' bookshelf.book.id %}">{{ bookshelf.book.title }}</a> {{ bookshelf.time }}
                </li>
            {% endfor %}
        </ul>


    </div>
</div>
</body>
</html>